package com.molichuxing.services.infrastructure.service;

import com.molichuxing.services.infrastructure.dto.response.response.GroupDesenseDto;

import java.util.List;
import java.util.Map;

public interface GroupDesenseService {

    public List<GroupDesenseDto> getGroupDesenseListByParam(Map<String, Object> param);

    /**
     * 批量添加
     * @param groupId
     * @param desenses
     * @return
     */
    int createBatchGroupDesense(int groupId, List<Integer> desenses);

    /**
     * 根据groupId删除
     * @param groupId
     * @return
     */
    int deleteByGroupId(int groupId);

    /**
     * 根据脱敏字段id删除
     * @param desenseId
     * @return
     */
    int deleteByDesenseId(int desenseId);
}
